//
//  DownloadedSongs.m
//  Mecca
//
//  Created by Ryan Enguero on 6/2/14.
//  Copyright (c) 2014 TapDash Heuristics. All rights reserved.
//

#import "DownloadedSongs.h"

@implementation DownloadedSongs

- (NSString*)idSong{
    
    return _idSongStr;
}

- (NSString*)songName{
    
    return _songNameStr;
}

- (NSData *)songData{

    return _songDataStr;
}

- (NSString*)songImg{
    
    return _songImgStr;
}

- (NSString*)durations{
    
    return _durationStr;
}

- (NSString*)artistname{

    return _artistNameStr;
}

- (NSString *)albumName{

    return _albumNameStr;
}


- (NSString *)songLyrics{
    
    return _songLyricsStr;
    
}


//
//- (NSString*)ratings{
//    
//    return _ratingsStr;
//}
//
//- (NSString*)downloads{
//    
//    return _downloadsStr;
//}
//
//- (NSString*)likes{
//    
//    return _likesStr;
//}
//
//- (NSString*)shares{
//    
//    return _sharesStr;
//}

+ (instancetype)songsWithID:(NSString*)songID andName:(NSString*)songName andData:(NSData*)data andImg:(NSString *)songImg andDuration:(NSString *)songDuration andArtistName:(NSString*)artistName andAlbumName:(NSString *)albumName andSongLyrics:(NSString *)songLyrics{
    
    DownloadedSongs *song = [[self alloc] init];
    
    song.idSongStr = songID;
    song.songNameStr = songName;
    song.songDataStr = data;
    song.songImgStr = songImg;
    song.durationStr = songDuration;
    song.artistNameStr = artistName;
    song.albumNameStr = albumName;
    song.songLyricsStr = songLyrics;
    
    return song;
}

@end
